home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / conv / amigajpegv4.lha / jpeg-v4 / man / djpeg.man < prev   
Text File  |  1993-01-10  |  9KB  |  196 lines

  1.  
  2.  
  3.  
  4.  DDDDJJJJPPPPEEEEGGGG((((1111))))                                                           DDDDJJJJPPPPEEEEGGGG((((1111))))
  5.                                 2222 AAAAuuuugggguuuusssstttt 1111999999992222
  6.  
  7.  
  8.  
  9.  NNNNAAAAMMMMEEEE
  10.       djpeg - decompress a JPEG file to an image file
  11.  
  12.  SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       ddddjjjjppppeeeegggg [ ----ccccoooolllloooorrrrssss _N ] [ ----ggggiiiiffff ] [ ----ppppnnnnmmmm ] [ ----rrrrlllleeee ] [ ----ttttaaaarrrrggggaaaa ] [
  14.       ----bbbblllloooocccckkkkssssmmmmooooooootttthhhh ] [ ----ggggrrrraaaayyyyssssccccaaaalllleeee ] [ ----mmmmaaaaxxxxmmmmeeeemmmmoooorrrryyyy _N ] [ ----nnnnooooddddiiiitttthhhheeeerrrr ] [ ----oooonnnneeeeppppaaaassssssss
  15.       ] [ ----vvvveeeerrrrbbbboooosssseeee ] [ ----ddddeeeebbbbuuuugggg ] [ _f_i_l_e_n_a_m_e ]
  16.  
  17.  DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.       ddddjjjjppppeeeegggg decompresses the named JPEG file, or the standard input if no
  19.       file is named, and produces an image file on the standard output.
  20.       PBMPLUS (PPM/PGM), GIF, Targa, or RLE (Utah Raster Toolkit) output
  21.       format can be selected.  (RLE is supported only if the URT library is
  22.       available.)
  23.  
  24.  OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.       All switch names may be abbreviated; for example, ----ggggrrrraaaayyyyssssccccaaaalllleeee may be
  26.       written ----ggggrrrraaaayyyy or ----ggggrrrr.  Most of the "basic" switches can be abbreviated
  27.       to as little as one letter.  Upper and lower case are equivalent (thus
  28.       ----GGGGIIIIFFFF is the same as ----ggggiiiiffff).  British spellings are also accepted (e.g.,
  29.       ----ggggrrrreeeeyyyyssssccccaaaalllleeee), though for brevity these are not mentioned below.
  30.  
  31.       The basic switches are:
  32.  
  33.       ----ccccoooolllloooorrrrssss _N
  34.            Reduce image to at most N colors.  This reduces the number of
  35.            colors used in the output image, so that it can be displayed on a
  36.            colormapped display or stored in a colormapped file format.  For
  37.            example, if you have an 8-bit display, you'd need to reduce to
  38.            256 or fewer colors.
  39.  
  40.       ----qqqquuuuaaaannnnttttiiiizzzzeeee _N
  41.            Same as ----ccccoooolllloooorrrrssss.  ----ccccoooolllloooorrrrssss is the recommended name, ----qqqquuuuaaaannnnttttiiiizzzzeeee is
  42.            provided only for backwards compatibility.
  43.  
  44.       ----ggggiiiiffff Select GIF output format.  Since GIF does not support more than
  45.            256 colors, ----ccccoooolllloooorrrrssss 222255556666 is assumed (unless you specify a smaller
  46.            number of colors).
  47.  
  48.       ----ppppnnnnmmmm Select PBMPLUS (PPM/PGM) output format (this is the default
  49.            format).  PGM is emitted if the JPEG file is gray-scale or if
  50.            ----ggggrrrraaaayyyyssssccccaaaalllleeee is specified; otherwise PPM is emitted.
  51.  
  52.       ----rrrrlllleeee Select RLE output format.  (Requires URT library.)
  53.  
  54.       ----ttttaaaarrrrggggaaaa
  55.            Select Targa output format.  Gray-scale format is emitted if the
  56.            JPEG file is gray-scale or if ----ggggrrrraaaayyyyssssccccaaaalllleeee is specified; otherwise,
  57.            colormapped format is emitted if ----ccccoooolllloooorrrrssss is specified; otherwise,
  58.            24-bit full-color format is emitted.
  59.  
  60.  
  61.                                     - 1 -       Formatted:  January 10, 1993
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  DDDDJJJJPPPPEEEEGGGG((((1111))))                                                           DDDDJJJJPPPPEEEEGGGG((((1111))))
  69.                                 2222 AAAAuuuugggguuuusssstttt 1111999999992222
  70.  
  71.  
  72.  
  73.       Switches for advanced users:
  74.  
  75.       ----bbbblllloooocccckkkkssssmmmmooooooootttthhhh
  76.            Perform cross-block smoothing.  This is quite memory-intensive
  77.            and only seems to improve the image at very low quality settings
  78.            (----qqqquuuuaaaalllliiiittttyyyy 10 to 20 or so).  At normal quality settings it may
  79.            make the image worse.
  80.  
  81.       ----ggggrrrraaaayyyyssssccccaaaalllleeee
  82.            Force gray-scale output even if JPEG file is color.  Useful for
  83.            viewing on monochrome displays.
  84.  
  85.       ----mmmmaaaaxxxxmmmmeeeemmmmoooorrrryyyy _N
  86.            Set limit for amount of memory to use in processing large images.
  87.            Value is in thousands of bytes, or millions of bytes if "M" is
  88.            attached to the number.  For example, ----mmmmaaaaxxxx 4444mmmm selects 4000000
  89.            bytes.  If more space is needed, temporary files will be used.
  90.  
  91.       ----nnnnooooddddiiiitttthhhheeeerrrr
  92.            Do not use dithering in color quantization.  By default, Floyd-
  93.            Steinberg dithering is applied when quantizing colors, but on
  94.            some images dithering may result in objectionable "graininess".
  95.            If that happens, you can turn off dithering with ----nnnnooooddddiiiitttthhhheeeerrrr.
  96.            ----nnnnooooddddiiiitttthhhheeeerrrr is ignored unless you also say ----ccccoooolllloooorrrrssss _N.
  97.  
  98.       ----oooonnnneeeeppppaaaassssssss
  99.            Use one-pass instead of two-pass color quantization.  The one-
  100.            pass method is faster and needs less memory, but it produces a
  101.            lower-quality image.  ----oooonnnneeeeppppaaaassssssss is ignored unless you also say
  102.            ----ccccoooolllloooorrrrssss _N.  Also, the one-pass method is always used for gray-
  103.            scale output (the two-pass method is no improvement then).
  104.  
  105.       ----vvvveeeerrrrbbbboooosssseeee
  106.            Enable debug printout.  More ----vvvv's give more output.  Also,
  107.            version information is printed at startup.
  108.  
  109.       ----ddddeeeebbbbuuuugggg
  110.            Same as ----vvvveeeerrrrbbbboooosssseeee.
  111.  
  112.  EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  113.       This example decompresses the JPEG file foo.jpg, automatically
  114.       quantizes to 256 colors, and saves the output in GIF format in
  115.       foo.gif:
  116.  
  117.            ddddjjjjppppeeeegggg ----ggggiiiiffff _f_o_o._j_p_g >>>> _f_o_o._g_i_f
  118.  
  119.  EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  120.       JJJJPPPPEEEEGGGGMMMMEEEEMMMM
  121.            If this environment variable is set, its value is the default
  122.            memory limit.  The value is specified as described for the
  123.            ----mmmmaaaaxxxxmmmmeeeemmmmoooorrrryyyy switch.  JJJJPPPPEEEEGGGGMMMMEEEEMMMM overrides the default value specified
  124.  
  125.  
  126.                                     - 2 -       Formatted:  January 10, 1993
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  DDDDJJJJPPPPEEEEGGGG((((1111))))                                                           DDDDJJJJPPPPEEEEGGGG((((1111))))
  134.                                 2222 AAAAuuuugggguuuusssstttt 1111999999992222
  135.  
  136.  
  137.  
  138.            when the program was compiled, and itself is overridden by an
  139.            explicit ----mmmmaaaaxxxxmmmmeeeemmmmoooorrrryyyy.
  140.  
  141.  SSSSEEEEEEEE AAAALLLLSSSSOOOO
  142.       ccccjjjjppppeeeegggg(1)
  143.       ppppppppmmmm(5), ppppggggmmmm(5)
  144.       Wallace, Gregory K.  "The JPEG Still Picture Compression Standard",
  145.       Communications of the ACM, April 1991 (vol. 34, no. 4), pp. 30-44.
  146.  
  147.  AAAAUUUUTTTTHHHHOOOORRRR
  148.       Independent JPEG Group
  149.  
  150.  BBBBUUUUGGGGSSSS
  151.       Arithmetic coding is not supported for legal reasons.
  152.  
  153.       Still not as fast as we'd like.
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                                     - 3 -       Formatted:  January 10, 1993
  191.  
  192.  
  193.  
  194.